﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/MasterPage2.master"
    AutoEventWireup="true" CodeBehind="LogList.aspx.cs" Inherits="HZ.Supervise.Web.Admin.LogList" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
   <%-- <div id="tabnav">
        <ul>
            <li class="active"><a href="javascript:void(0);">日志查看</a></li>
        </ul>
    </div>--%>
    <div id="tabcontent">
        <table class="querylist">
            <tr>
                <th>
                    <asp:Label ID="lblOperator" runat="server" Text="操作人："></asp:Label>
                </th>
                <td>
                    <asp:TextBox ID="txtOperator" runat="server"></asp:TextBox>
                </td>
                <th>操作时间：</th>
                <td>
                     <table>
                        <tr>
                            <td style="width:49%"><asp:TextBox ID="txtStratTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})" CssClass="input input_wa"></asp:TextBox></td>
                            <td style="width:1%">-</td>
                            <td style="width:49%"><asp:TextBox ID="txtEndTime" runat="server" onfocus="WdatePicker({dateFmt:'yyyy-MM',readOnly:true})" CssClass="input input_wa"></asp:TextBox></td>
                        </tr>
                    </table>    
                </td>
                <th></th>
                <td>
                    <asp:Button ID="btnQuery" runat="server" OnClick="btnQuery_Click" Text="查 询" CssClass="btn" />
                    <asp:Button ID="btnExcel" runat="server" CssClass="btn" Text="导出数据" OnClick="btnExport_Click" />
                </td>
            </tr>
        </table>
    </div>
    <%--<div class="listip">
        <ul>
            <li>说明:<span style="color:Red;">操作日志查询，输入不同查询条件查询需要的数据</span></li>
        </ul>
    </div>--%>
    <div>
        <asp:GridView ID="gvwInfo" runat="server" AutoGenerateColumns="False" EmptyDataText="暂无符合条件的数据！"
            Width="100%" CssClass="mainlist">
            <Columns>
                <asp:TemplateField HeaderText="序号">
                    <ItemTemplate>
                        <%#Container.DataItemIndex + 1 + AspNetPager1.PageSize * (AspNetPager1.CurrentPageIndex-1) %>
                    </ItemTemplate>
                    <HeaderStyle Width="30px" />
                </asp:TemplateField>
                <asp:BoundField DataField="Operator" HeaderText="操作人" />
                <asp:BoundField DataField="OperateTime" HeaderText="操作时间" />
                <asp:BoundField DataField="OperateMessage" HeaderText="操作记录" />
            </Columns>
        </asp:GridView>
    </div>
    <div class="page">
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server" OnPageChanged="AspNetPager1_OnPageChanged">
        </webdiyer:AspNetPager>
    </div>
    <div class="listip">
        <ul>
            <li>说明:<span style="color: Red;">数据量大,请输入有关条件再查询</span></li>
        </ul>
    </div>
</asp:Content>
